package com.koutao.mall.common;

/**
 * Author:   koutao(301601)
 * Date:     2020/9/27 16:33
 * Description: TODO
 */
public enum ResultCode {

    OK(0, "成功"),
    ERROR_SERVICE(55555, "处理异常！");

    int code;
    String msg;

    ResultCode(int code, String msg){
        this.code = code;
        this.msg = msg;
    }

    public int getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }
}
